<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    // 'pink' JS推荐双引号
    var strMsg = '我是高富帅';
    var str = "我是一个'高富帅'程序员"
    var str1 = "我是一个'高富帅'\n程序员"
    console.log(str)
    console.log(str1)
</script>
</body>
</html>